
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="stuInfo" cellspacing="1">
	<tr>
		<td colspan="9" class="t_bar">基本信息</td>
	</tr>
	<tr>
		<td width="120px" nowrap align="right"><span class="color_red">*</span>姓名：</td>
		<td width="300px" colspan='4'>
		    <x:out select="$xmlData/data/proposal/zh_title" />
		</td>
		<td width="120px" nowrap align="right"><span class="color_red">*</span>性别：</td>
		<td width="300px" colspan='2'>
		    <c:set var ='gender'><x:out select="$xmlData/data/student/gender_value" /></c:set>
		    <c:if test="${gender eq 'M' }">
		    男
		    </c:if>
		     <c:if test="${gender eq 'F' }">
		   女
		    </c:if>
		</td>
		<td rowspan="5" width="130px" align="center">
		   <c:set var="file_code9"><x:out select="$xmlData/data/content/file_code9" /></c:set>
		   <c:if test="${not empty file_code9 }" >
		    <div>
		      <img src="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code9" />"  style="width:130px;height:159px"  />
		    </div>
		   </c:if>
		   <c:if test="${empty file_code9 }" >
		    <div>
		       <img src="/egrantres_nanshan/images/app/photo_01.jpg"  style="width:130px;height:159px" />
		   </div>
		    </c:if>
		</td>
	</tr>
	<tr>
	    <td nowrap align="right"><span class="color_red">*</span>籍贯：</td>
		<td colspan='4'>
		    <x:out select="$xmlData/data/student/hometown" />
		</td>
		<td nowrap align="right"><span class="color_red">*</span>出生日期：</td>
		<td colspan='2'>
		    <x:out select='$xmlData/data/student/birthday' />
		</td>
	</tr>
	<tr>
	    <td nowrap align="right"><span class="color_red">*</span>民族：</td>
		<td colspan='4'>
		    <x:out select='$xmlData/data/student/ethnicity_name' /> 
		</td>
	    <td nowrap align="right"><span class="color_red">*</span>身高：</td>
		<td colspan='2'>
		    <x:out select="$xmlData/data/student/height" />厘米
		</td>
	</tr>
	<tr>
		<td nowrap align="right"><span class="color_red">*</span>体重：</td>
		<td colspan='4'>
			<x:out select="$xmlData/data/student/weight" />千克
		</td>
		<td nowrap align="right"><span class="color_red">*</span>户口所在地：</td>
		<td colspan='2'>
		    <x:out select="$xmlData/data/student/account_location" />
		</td>
	</tr>
	<tr>
		<td nowrap align="right"><span class="color_red">*</span>婚姻状况：</td>
		<td colspan='7'>
		    <x:out select='$xmlData/data/student/marriage_name' />	 
		</td>
	</tr>
	<tr>
	    <td nowrap align="right"><span class="color_red">*</span>证件类型：</td>
		<td colspan='4'>
		   <x:out select="$xmlData/data/student/card_type_name" />
		</td>
	   <td nowrap align="right"><span class="color_red">*</span>证件号码：</td>
		<td colspan='3'>
		    <x:out select="$xmlData/data/student/card_id" />
		</td>
	</tr>
	<tr>
		<td nowrap align="right"><span class="color_red">*</span>专长爱好：</td>
		<td colspan='8'>
		    <x:out select="$xmlData/data/student/special" />
		</td>
	</tr>	
</table>
<table class="t_css" width="100%" border="0" cellpadding="0" id="stuInfo2" cellspacing="1">
    <tr class='li_1'>
        <c:set var="intention2"><x:out select="$xmlData/data/student/intention2" /> </c:set>
        <c:set var="intention3"><x:out select="$xmlData/data/student/intention3"/> </c:set>
	    <td width="120px" nowrap align="right"><span class="color_red">*</span>意向行业：</td>
		<td colspan='2'>   
		    1、<x:out select="$xmlData/data/student/intention1" />
		</td>
		<c:if test="${intention2!='' }">
		<td colspan='3'>   
		    2、<x:out select="$xmlData/data/student/intention2" />
		</td>
		</c:if>
		<c:if test="${intention3!='' }">
		<td colspan='3'>   
		    3、<x:out select="$xmlData/data/student/intention3" />
		</td>
		</c:if>
	</tr>
</table>

<br>
 <div class="t_bar" align="left"><span class="color_red">*</span>教育/培训经历</div>
     <table class="table01" width="100%"  border="0" cellpadding="0" id="tbltrainingexp" cellspacing="1">
			<thead>
			<tr>
				<th width='6%'>序号</th>
				<th width='20%'>院校/培训机构</th>
				<th width='6%'>学历</th>
				<th width='6%'>学位</th>
				<th width='13%'>开始时间</th>
				<th width='13%'>结束时间</th>
				<th width='15%'>专业</th>
				<th width='20%'>研究方向</th>
			</tr>
			</thead>
			<tbody>
			<c:set value="0" var="index" scope="page" />
			<x:forEach select="$xmlData/data/trains/train" var="train">
				<c:choose>
					<c:when test="${index<10}">
						<c:set value="0" var="flag" scope="page" />
					</c:when>
					<c:otherwise>
						<c:set value="" var="flag" scope="page" />
					</c:otherwise>
				</c:choose>
				<tr align="center">
					<td align="center">
						<span name="trains/train[${flag}${index}]@seq_no">
						${index+1}
						</span>
					</td>
					<td align="center">
						<x:out select="$train/cname" />
					</td>
					<td>
						<x:out select="$train/educate_name" />
					</td>
					<td>
						<x:out select="$train/degree_name" />
					</td>
					<td nowrap="nowrap">
					    <x:out select="$train/start_date"/>
					</td>
					<td nowrap="nowrap">
					    <x:out select="$train/end_date"/>
					</td>
					<td align="center">
          			    <x:out select="$train/major" />
          			</td>
          			<td align="center">
						<x:out select="$train/research" />
					</td>
				</tr>
				<c:set value="${index+1}" var="index" scope="page" />
			</x:forEach>
			</tbody>
		</table>
     <br>
 <%-- 
     <div class="t_bar" align="left"><span class="color_red">*</span>实习经历（请注明时间、实习单位名称、实习岗位等等）</div>
     <table class="table01" width="100%"  border="0" cellpadding="0" id="tblinternship" cellspacing="1">
			<thead>
			<tr>
				<th width='6%'>序号</th>
				<th width='88%'>实习经历</th>
			</tr>
			</thead>
			<tbody>
			<c:set value="0" var="index" scope="page" />
			<x:forEach select="$xmlData/data/internships/internship" var="internship">
				<c:choose>
					<c:when test="${index<10}">
						<c:set value="0" var="flag" scope="page" />
					</c:when>
					<c:otherwise>
						<c:set value="" var="flag" scope="page" />
					</c:otherwise>
				</c:choose>
				<tr>
					<td align="center">
						${index+1}
					</td>
					<td >
					    <pre><x:out select="$internship/exp" /></pre>
					</td>
				</tr>
				<c:set value="${index+1}" var="index" scope="page" />
			</x:forEach>		
			</tbody>
		</table>
 <br> --%>
 
 <div class="t_bar" align="left"><span class="color_red">*</span>家庭情况</div>
     <table class="table01" width="100%"  border="0" cellpadding="0" id="tblfamilysituation" cellspacing="1">
			<thead>
			<tr>
				<th width='6%'>序号</th>
				<th width='20%'>姓名</th>
				<th width='20%'>关系</th>
				<th width='30%'>任职单位或就读学校</th>
				<th width='20%'>联系方式</th>
			</tr>
			</thead>
			<tbody>
			<c:set value="0" var="index" scope="page" />
			<x:forEach select="$xmlData/data/familys/family" var="family">
				<c:choose>
					<c:when test="${index<10}">
						<c:set value="0" var="flag" scope="page" />
					</c:when>
					<c:otherwise>
						<c:set value="" var="flag" scope="page" />
					</c:otherwise>
				</c:choose>
				<tr>
					<td align="center">
						${index+1}
					</td>
					<td align="center">
						<x:out select="$family/cname" />
					</td>
					<td align="center">
						<x:out select="$family/relationship" />
					</td>
					<td align="center">
						<x:out select="$family/unit" />
					</td>
					<td nowrap="nowrap" align="center">
					    <x:out select="$family/contract_type" />
					</td>
				</tr>
				<c:set value="${index+1}" var="index" scope="page" />
			</x:forEach>		
			</tbody>
		</table>
		<br>
    <div class="t_bar" align="left">实习经历（请注明时间、实习单位名称、实习岗位等等）</div>
    <table class="t_css" width="100%" border="0" cellpadding="0" id="recInfo2" cellspacing="1" style="table-layout: fixed; word-break: break-all; word-wrap: break-word">
	<tr>
	    <td colspan="9">
	    <pre><x:out select="$xmlData/data/proposal/practice" /></pre></td>
	</tr>
  </table>
    <br>
    <table class="t_css" width="100%" border="0" cellpadding="0"
	id="stuInfo1" cellspacing="1">
	<tr>
		<td colspan="9" class="t_bar">联系方式</td>
	</tr>
	<tr>
	    <td width="120px" nowrap align="right"><span class="color_red">*</span>固定电话：</td>
		<td width="300px" colspan='4'>
		    <x:out select="$xmlData/data/student/tel" />
		</td>
	    <td width="120px" nowrap align="right"><span class="color_red">*</span>移动电话：</td>
		<td width="300px" colspan='3'>
            <x:out select="$xmlData/data/student/moblie" />
        </td>
	</tr>
	<tr>
	    <td nowrap align="right"><span class="color_red">*</span>电子邮箱：</td>
		<td colspan='4'>
		    <x:out select="$xmlData/data/student/email" />
		</td>
	    <td nowrap align="right"><span class="color_red">*</span>个人主页：</td>
		<td colspan='3'>
            <x:out select="$xmlData/data/student/http" />
        </td>
	</tr>
	<tr>
	    <td nowrap align="right"><span class="color_red">*</span>通讯地址：</td>
		<td colspan='8'>
		    <x:out select="$xmlData/data/student/address" />
		</td>
	</tr>
	<tr>
	    <td nowrap align="right"><span class="color_red">*</span>中国银行开户账号<br>（仅限在深圳地区）:</td>
		<td colspan='8'>
		    <x:out select="$xmlData/data/student/bank_account" />
		</td>
	</tr>
</table>
<script type="text/javascript">
	$(function() {
		$("#stuInfo tr:even").addClass("li_1");
		$("#stuInfo tr:odd").addClass("li_2");	
		$("#stuInfo1 tr:even").addClass("li_1");
		$("#stuInfo1 tr:odd").addClass("li_2");	
	});	
</script>
